public class software
{
  public static void main(String []args)
  {
   String str = "software";
   if (str == "software")
      System.out.println("References are the same");
   if (str.equals("software"))
      System.out.println("Characters are the same");
  }
}  
